import java.util.ArrayList;


public class Story {
	
	private ArrayList <Chapter> chapters;
	private Chapter currentChapter;
	
	public Story ()
	{
		chapters=new ArrayList <Chapter> ();
	}

	public void setChapters(ArrayList <Chapter> chapters)
	{
	  this.chapters=chapters;
	}
	
	public ArrayList <Chapter> getChapters()
	{
		return chapters;
	}
	
	public int getNumberOfChapters()
	{
	 return chapters.size();
	}

	public void setCurrentChapter(Chapter currentChapter) {
		this.currentChapter = currentChapter;
	}

	public Chapter getCurrentChapter() {
		return currentChapter;
	}
	
	public Chapter getChapter(int i)
	{
		return chapters.get(i);
	}
}
